package com.cly.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 在线用户
 *
 * @author by 春风能解释
 * <p>
 * 2025/1/24
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "在线用户Vo", description = "在线用户Vo")
public class OnlineUserVo implements Serializable {

    /**
     * 序列化id
     */
    @Serial
    private static final long serialVersionUID = -43250085779329126L;
    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String userName;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private String userId;

    /**
     * 头像id
     */
    @Schema(description = "头像id")
    private String avatarId;

}
